// CityList入口组件
<template>
  <div class="list-wrapper">
    <city-list-sub
      v-for="(item, index) of cityList"
      :key="index"
      :cityInfo="item"
    ></city-list-sub>
  </div>
</template>

<script>
import CityListSub from "./Sub.vue";
import cityDatas from "data/cities";

export default {
  name: "CityList",
  data: function () {
    return {
      cityList: cityDatas,
    };
  },
  components: {
    CityListSub: CityListSub,
  },
};
</script>

<style lang="scss" scoped>
</style>